﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SDK.ApiService.TrackNode.Model
{
    /// <summary>
    /// 物流接口返回信息
    /// </summary>
    public class TrackNodeResult
    {
        /// <summary>
        /// 状态码
        /// [0-成功,201-单号错误,203-快递公司不存在,204-快递公司识别失败,205-没有信息]
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 信息
        /// </summary>
        public string msg { get; set; }

        /// <summary>
        /// 主体
        /// </summary>
        public TrackNodeDataModel result { get; set; }
    }

    /// <summary>
    /// 主体
    /// </summary>
    public class TrackNodeDataModel
    {
        /// <summary>
        /// 投递状态
        /// 0 快递收件(揽件)1.在途中 2.正在派件 3.已签收 4.派送失败 5.疑难件 6.退件签收 10.不是快递
        /// </summary>
        public string deliverystatus { get; set; }

        /// <summary>
        /// 详细轨迹
        /// </summary>
        public List<TrajectoryModel> list { get; set; }


    }

    /// <summary>
    /// 轨迹
    /// </summary>
    public class TrajectoryModel 
    {
        /// <summary>
        /// 时间
        /// </summary>
        public string time { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string status { get; set; }
    }

}
